package com.example.shengyin.dao;

import com.example.shengyin.entity.Shop;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 * 
 * @author ruoyi
 * @date 2023-07-31
 */
@Service
public interface ShopMapper
{



   // 根据id查找具体的门店
   public Shop selectShopById(@Param("id") Long id);


   // 查找城市的所有门店
   public List<Shop> select(@Param("id") Long id);


   public List<Shop> list(@Param("pagestart")int pagestart,@Param("limit") int limit,@Param("sname") String sname);


   public int insert(Shop dShop);

   public int update(Shop dShop);


   public int delete(@Param("id") int id);

   public int count(@Param("sname") String sname);

   public int deleteByIds(@Param("ids") String ids);


}
